
const type = import.meta.glob('../type/*.vue', { eager: true });
const typeCompontent = {};

for (const key in type) {
    const element = type[key];
    const _key = key.replace('../type/', '').replace('.vue', '');
    typeCompontent[_key] = element.default
}



const layout = import.meta.glob('../layout/*.vue', { eager: true });
const layoutCompontent = {};

for (const key in layout) {
    const element = layout[key];
    const _key = key.replace('../layout/', '').replace('.vue', '');
    layoutCompontent[_key] = element.default
}

export default {
    type: typeCompontent,
    layout: layoutCompontent
}